<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>Test dojox.grid.Grid Column Reordering</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
	<style type="text/css">
		@import "../resources/Grid.css";
		@import "../resources/tundraGrid.css";
		@import "../../../dojo/resources/dojo.css";
		@import "../../../dojo/resources/dnd.css";
		@import "../../../dijit/themes/tundra/tundra.css";
		body {
			font-size: 0.9em;
			font-family: Geneva, Arial, Helvetica, sans-serif;
		}
		.heading {
			font-weight: bold;
			padding-bottom: 0.25em;
		}
				
		#grid {
			border: 1px solid #333;
			width: 60em;
			height: 30em;
		}
	</style>
	<script type="text/javascript" src="../../../dojo/dojo.js" 
		djConfig="isDebug:false, parseOnLoad: true"></script>
	<script type="text/javascript">
		dojo.require("dijit.dijit");
		dojo.require("dojox.grid.DataGrid");
		dojo.require("dojo.data.ItemFileWriteStore");
		dojo.require("dojo.parser");
	</script>
	<script type="text/javascript" src="support/test_data.js"></script>
	<script type="text/javascript">
		var layout = [{
			cells: [
				{name: 'Column 1', field: 'col1'},
				{name: 'Column 2', field: 'col2'},
				{name: 'Column 3', field: 'col3'}
			],
			noscroll: true,
			width: 'auto'
		},{
			cells: [
				{name: 'Column 4', field: 'col4', width: "150px"},
				{name: 'Column 5', field: 'col5'}
			]
		}];
	</script>
</head>
<body class="tundra">
	<div class="heading">dojox.grid.Grid Column Reordering Test</div>

	<div jsid="grid" id="grid" dojoType="dojox.grid.DataGrid" 
		columnReordering="true" store="test_store" query="{ id: '*' }" 
		structure="layout" rowSelector="20px"></div>
</body>
</html>
